package refactor.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 微信的token
    * </p>
*
* @author 杨健
* @since 2019-08-19
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class WeChatToken implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

        @TableField("apply_datetime")
    private Long applyDatetime;

        @TableField("apply_user_id")
    private String applyUserId;

        @TableField("expires_datetime")
    private Long expiresDatetime;

            /**
            * 凭证有效时间，单位：秒
            */
        @TableField("expires_in")
    private Integer expiresIn;

        @TableField("token")
    private String token;

        @TableField("type")
    private String type;


}
